import React, { Component } from 'react';
import './ShoppingList.css';

/**
 * 购物组件
 */
export default class ShoppingList extends Component {
  render() {
    return (
        <div className="shopping-list">
          <h1>Shopping List for {this.props.name}</h1>
          <ul>
            <li>Instagram</li>
            <li>WhatsApp</li>
            <li>Oculus</li>
          </ul>
        </div>
      );
  }
}
